package io.renren.service;

import com.alibaba.fastjson.JSONObject;
import io.renren.entity.EmpBaseinfoEntity;
import io.renren.entity.SysUserEntity;
import io.renren.entity.VO.EmpBaseinfoEntityVO;
import io.renren.entity.VO.EmpBaseinfoParams;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-06-15 20:58:29
 */
public interface EmpBaseinfoService {
	
	EmpBaseinfoEntity queryObject(Integer id);

	EmpBaseinfoParams queryObjectVO(String id);
	
	List<EmpBaseinfoEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(EmpBaseinfoParams empBaseinfo);
	
	void update(EmpBaseinfoParams empBaseinfo);
	
	void delete(Integer id);

	void insertDispatch(JSONObject params,SysUserEntity sysUserEntity);

	void insertInterview(JSONObject params,SysUserEntity sysUserEntity);

	void updateStatus(JSONObject id);
	
	void deleteBatch(Integer[] ids);

	List<EmpBaseinfoEntityVO> queryListVO(Map<String, Object> map);

	Map<String, Object> getListinfo();

	void saveEmpBaseInfo(EmpBaseinfoEntity empBaseinfo);
}
